package com.aaa.sys.service;

import com.aaa.sys.entity.Menu;
import com.aaa.sys.vo.MenuTree;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author ykq
 * @since 2020-11-25
 */
public interface MenuService extends IService<Menu> {

    List<String> queryPermissionByUserId(Long userId);

    List<MenuTree> findMenuTreeByUserId(Long memberIdByJwtToken);

    List<Menu> queryMenuTreeByCon(String name);

    List<Integer> queryExpandMenuKey(Long r);
}
